package gemini.castor.ui.client.page.content.information.aboutcompany.form;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiTemplate;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.Widget;

public class AboutCompanyFormView extends Composite implements
		AboutCompanyFormPresenter.Display {

	@UiTemplate("AboutCompanyFormView.ui.xml")
	interface MyUiBinder extends UiBinder<Panel, AboutCompanyFormView> {
	}

	private static final MyUiBinder binder = GWT.create(MyUiBinder.class);

	public AboutCompanyFormView() {
		initWidget(binder.createAndBindUi(this));
	}

	@UiField
	Image imgAboutCompany;
	
	@Override
	public Widget asWidget() {
		return this;
	}

	@Override
	public void loadData() {
		imgAboutCompany.setUrl("images/logo/ourhistory_main_bkg.jpg");
	}

}
